package commands;

public abstract class Command {
	int lineNumber;
	
	public Command(int lineNumber) {
		super();
		this.lineNumber = lineNumber;
	}
	public abstract void run();
	public abstract Command getNext();
	public abstract void setNext(Command command);
	
	public int getLineNumber() {
		return lineNumber;
	}
	
	static String fixString(String s) {
		s = s.replaceAll(" ", "");
		s = s.replaceAll("\t", "");
		return s;
	}
}
